public class ext_GenerateBVVPDFTemplate {
    Public String TAMM {get; set;}
    private final Health_Card_Renewal_Form__c HCRF;
    Public List<Barcode__c> Barcodes {get; set;}
    public string bc1 {get; set;}
    public string bc2 {get; set;}
    public string bc3 {get; set;}
    
    public ext_GenerateBVVPDFTemplate(ApexPages.StandardController controller) 
    {
         this.HCRF= (Health_Card_Renewal_Form__c)controller.getRecord();
         
         Barcodes = [SELECT id, name, Image_URL__c, Application__c FROM Barcode__c WHERE Application__c = :HCRF.id];
         
         bc1 = Barcodes[0].Image_URL__c;
         bc2 = Barcodes[1].Image_URL__c;
         bc3 = Barcodes[2].Image_URL__c;
         
         //IF(HCRF.TAMM_VIP_Service__c) TAMM = 'TAMM VIP Service' ; else TAMM = ' ';
         Tamm = 'TAMM VIP Service';  
    }
}